import { handleDataStr } from '@/util/index'

const nameStr = `
groupId
companyId
receiptNumber
currencyCode
paymentMethod
bppayUcode
bpartnerUcode
accountUcode
dateTrx
dateAcct
docTypename
docStatus
totalAmount
discountAmt
taxAmt
spentAmount
availableAmount
unavailableAmount
bpartnerInvoicenumber
paymentLot
description
invoiceNumber
saleorderNumber
shipmentNumber
projectUcode
campaignUcode
vatInvoicenumber
bpartnerBankaccount
bpartnerBankname
bpartnerDescpription
deptId
postVoucher
dataFrom
dataSend
approveUser
bppayAccountname
bppayAccount
bppayDescption
createBy
createDate
modifyBy
modifyDate
`

const chineseNameStr = `
集团ID
公司ID
收款单号
币别
结算方式
付款方
客户ID
银行账户
业务日期
记账日期
单据类型
单据状态
总金额
折扣金额
税额 
已用金额
可用金额
非用于核销金额
支票号
收款批次
描述
应收单号
销售订单号
发货单号
项目ID
营销活动ID
增值税发票号
付款账号
付款账户名称
付款描述
销售部门ID
已产生凭证
数据来源
已发送
审批人
付款账户名称
付款账户号
付款描述
创建人 
创建时间 
更新人 
更新时间 
`

export default handleDataStr(nameStr,chineseNameStr)

// const tableConfig = [
//   { "name": "receiptNumber", "chineseName": "收款单号", "lang": "erp.financial.receiptNumber" },
//   { "name": "currencyCode", "chineseName": "币别", "lang": "erp.financial.currencyCode" },
//   { "name": "paymentMethod", "chineseName": "结算方式", "lang": "erp.financial.paymentMethod" },
//   { "name": "bppayUcode", "chineseName": "付款方", "lang": "erp.financial.bppayUcode" },
//   { "name": "bpartnerUcode", "chineseName": "客户ID", "lang": "erp.financial.bpartnerUcode" },
//   { "name": "companyId", "chineseName": "公司ID", "lang": "erp.financial.companyId" },
//   { "name": "accountUcode", "chineseName": "银行账户", "lang": "erp.financial.accountUcode" },
//   { "name": "dateTrx", "chineseName": "业务日期", "lang": "erp.financial.dateTrx" },
//   { "name": "docTypename", "chineseName": "单据类型", "lang": "erp.financial.docTypename" },
//   { "name": "totalAmount", "chineseName": "总金额", "lang": "erp.financial.totalAmount" },
//   { "name": "availableAmount", "chineseName": "可用金额", "lang": "erp.financial.availableAmount" },
//   { "name": "spentAmount", "chineseName": "已用金额", "lang": "erp.financial.spentAmount" },
//   { "name": "discountAmt", "chineseName": "折扣金额", "lang": "erp.financial.discountAmt" },
//   { "name": "approveUser", "chineseName": "审批人", "lang": "erp.financial.approveUser" },
//   { "name": "docStatus", "chineseName": "单据状态", "lang": "erp.financial.docStatus" },
//   { "name": "createBy", "chineseName": "创建人 ", "lang": "erp.financial.createBy" },
//   { "name": "createDate", "chineseName": "创建时间 ", "lang": "erp.financial.createDate" },
//   { "name": "modifyBy", "chineseName": "更新人 ", "lang": "erp.financial.modifyBy" },
//   { "name": "modifyDate", "chineseName": "更新时间", "lang": "erp.financial.modifyDate" },
// ]
// const formConfig = [
//     { "name": "receiptNumber", "chineseName": "收款单号", "lang": "erp.financial.receiptNumber",disabled:true },
//     { "name": "groupId", "chineseName": "集团名称", "lang": "erp.financial.groupId",prop:true,type:'search'  },
//     { "name": "companyId", "chineseName": "公司名称", "lang": "erp.financial.companyId",prop:true,type:'search'  },
//     { "name": "bpartnerUcode", "chineseName": "客户名称", "lang": "erp.financial.bpartnerUcode",prop:true,type:'search'  },
//     { "name": "currencyCode", "chineseName": "货币", "lang": "erp.financial.currencyCode",type:'search',prop:true },
//     { "name": "paymentMethod", "chineseName": "结算方式", "lang": "erp.financial.paymentMethod",prop:true,type:'search'  },
//     { "name": "bppayUcode", "chineseName": "付款方", "lang": "erp.financial.bppayUcode",prop:true,type:'search' },
//     { "name": "accountUcode", "chineseName": "银行账户", "lang": "erp.financial.accountUcode",prop:true,type:'search'},
//     { "name": "dateTrx", "chineseName": "业务日期", "lang": "erp.financial.dateTrx",prop:true,type:'date' },
//     { "name": "dateAcct", "chineseName": "记账日期", "lang": "erp.financial.dateAcct",prop:true,type:'date' },
//     { "name": "docTypename", "chineseName": "单据类型", "lang": "erp.financial.docTypename",type:'select',selectOption: ['S 标准应收','C 费用应收','P 资产应收'] },
//     { "name": "docStatus", "chineseName": "单据状态", "lang": "erp.financial.docStatus",prop:true,disabled:true },
//     { "name": "totalAmount", "chineseName": "总金额", "lang": "erp.financial.totalAmount",prop:true,disabled:true },
//     { "name": "availableAmount", "chineseName": "可用金额", "lang": "erp.financial.availableAmount",disabled:true },
//     { "name": "unavailableAmount", "chineseName": "非用于核销金额", "lang": "erp.financial.unavailableAmount",disabled:true },
//     { "name": "bpartnerInvoicenumber", "chineseName": "支票号", "lang": "erp.financial.bpartnerInvoicenumber" },
//     { "name": "discountAmt", "chineseName": "折扣金额", "lang": "erp.financial.discountAmt",disabled:true  },
//     { "name": "taxAmt", "chineseName": "税额 ", "lang": "erp.financial.taxAmt",disabled:true  },
//     { "name": "spentAmount", "chineseName": "已用金额", "lang": "erp.financial.spentAmount",disabled:true  },
//     { "name": "paymentLot", "chineseName": "收款批次", "lang": "erp.financial.paymentLot" },
//     { "name": "description", "chineseName": "描述", "lang": "erp.financial.description",span: 24 },

//     { "name": "projectUcode", "chineseName": "项目ID", "lang": "erp.financial.projectUcode",type:'search' },  
//     { "name": "campaignUcode", "chineseName": "营销活动ID", "lang": "erp.financial.campaignUcode" },
//     { "name": "postVoucher", "chineseName": "已产生凭证", "lang": "erp.financial.postVoucher",type:'select',selectOption: ['Y','N'],disabled:true },
//     { "name": "approveUser", "chineseName": "审批人", "lang": "erp.financial.approveUser",disabled:true},
//     { "name": "invoiceNumber", "chineseName": "应收单号", "lang": "erp.financial.invoiceNumber" },
//     { "name": "shipmentNumber", "chineseName": "发货单号", "lang": "erp.financial.shipmentNumber" },
//     { "name": "saleorderNumber", "chineseName": "销售订单号", "lang": "erp.financial.saleorderNumber" },
//     { "name": "vatInvoicenumber", "chineseName": "增值税发票号", "lang": "erp.financial.vatInvoicenumber" },
//     { "name": "bpartnerBankname", "chineseName": "付款账户名称", "lang": "erp.financial.bpartnerBankname",type:'search' },
//     { "name": "bpartnerBankaccount", "chineseName": "付款账号", "lang": "erp.financial.bpartnerBankaccount",type:'search'  },
//     { "name": "bpartnerDescpription", "chineseName": "付款描述", "lang": "erp.financial.bpartnerDescpription" },
//     { "name": "dataFrom", "chineseName": "数据来源", "lang": "erp.financial.dataFrom",disabled:true },
//     { "name": "deptId", "chineseName": "销售部门ID", "lang": "erp.financial.deptId",disabled:true },
//     { "name": "dataSend", "chineseName": "已发送", "lang": "erp.financial.dataSend",disabled:true },
//     { "name": "createBy", "chineseName": "创建人 ", "lang": "erp.financial.createBy",disabled:true },
//     { "name": "createDate", "chineseName": "创建时间 ", "lang": "erp.financial.createDate",type:'date' },
//     { "name": "modifyBy", "chineseName": "更新人 ", "lang": "erp.financial.modifyBy",disabled:true },
//     { "name": "modifyDate", "chineseName": "更新时间", "lang": "erp.financial.modifyDate",type:'date'},
// ]